raar.agent
Class RAAgentFactory_RAAgent

java.lang.Object
  extended by raar.agent.RAAgentFactory
      extended by raar.agent.RAAgentFactory_RAAgent
All Implemented Interfaces:
RAPlugin

public class RAAgentFactory_RAAgent
extends RAAgentFactory
implements RAPlugin

Implemented factory that returns a default RAAgent for simulation purposes.


Constructor Summary
RAAgentFactory_RAAgent()
           
 
Method Summary
 boolean configure()
          Configure the plug-in.
 RAAgent getNewAgent()
          Get a new agent.
 javax.swing.ImageIcon getPluginIcon()
          Return an icon for the plug-in in question, if it has one.
 java.lang.String getPluginName()
          Return a name for the plug-in in question.
 
Methods inherited from class raar.agent.RAAgentFactory
getPluginType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface raar.plugin.RAPlugin
getPluginType
 

Constructor Detail

RAAgentFactory_RAAgent

public RAAgentFactory_RAAgent()
Method Detail

getNewAgent

public RAAgent getNewAgent()
                    throws RAException
Get a new agent.

Specified by:
getNewAgent in class RAAgentFactory
Throws:
RAException

getPluginName

public java.lang.String getPluginName()
Return a name for the plug-in in question.

Specified by:
getPluginName in interface RAPlugin

getPluginIcon

public javax.swing.ImageIcon getPluginIcon()
Return an icon for the plug-in in question, if it has one. Otherwise just return null.

Specified by:
getPluginIcon in interface RAPlugin

configure

public boolean configure()
Configure the plug-in.

Specified by:
configure in interface RAPlugin